def printChars(ch1, ch2, numberProLine):
    """
    This function prints the characters between ch1 and ch2 with the specified numbers per line
    :param ch1:
    :param ch2:
    :param numberProLine:
    :return:
    """
    content = []
    for a in range(ord(str(ch1)), ord(str(ch2)) + 1):
        content.append(a)
    column = 1
    for i in content:
        if column <= numberProLine:
            print(chr(i), end='')
            column += 1
        else:
            print('')
            print(chr(i), end='')
            column = 2


printChars('1', 'Z', 10)
